package com.itheima.service;

import com.itheima.dto.AddressBookDto;
import com.itheima.vo.AddressBookVo;

import java.util.List;

/**
 * @author :WuJunJie
 * packageName :com.itheima.service
 * fileName :AddressBookService
 * creationTime :2022-11-28 12:33
 */
public interface AddressBookService {
    AddressBookVo insertAddressBook(AddressBookDto addressBookDto);

    List<AddressBookVo> selectAddressBooks();


    AddressBookVo selectAddressBookById(String id);

    Boolean updateAddressBooks(AddressBookDto addressBookDto);

    Boolean deleteAddressBooks(List<String> ids);

    AddressBookVo setDefaultAddressBooks(AddressBookDto addressBookDto);

    AddressBookVo selectDefaultAddressBook();
}
